package com.dreem.facade;

/**
 * @program: DesignParrtern
 * @description: 客户端
 * @author: Peng
 * @create: 2021-02-21  10:40
 **/
public class Client {
    public static void main(String[] args) throws InterruptedException {
        HomePlay homePlay = new HomePlay();
        homePlay.start();
        Thread.sleep(6000);
        homePlay.pause();
        Thread.sleep(6000);
        homePlay.stop();
    }
}
